<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
		<style type="text/css">
			input {
				width: 150px;
				height: 50px;
			}
			
			div {
				width: 300px;
				height: 300px;
				background: pink;
				display: none;
			}
			
			.pink {
				background: pink;
			}
			
			.block {
				display: block;
			}
		</style>
	</head>

	<body>
		<input type="button" value="111111" class="pink" />
		<input type="button" value="222222" />
		<input type="button" value="333333" />
		<div class="block">111111</div>
		<div>222222</div>
		<div>333333</div>
	</body>
	<script type="text/javascript">
		$('input').click(function() {
			//			$(this).addClass('pink')
			//			$(this).siblings().removeClass('pink')
			$(this).addClass('pink').siblings().removeClass('pink');
			$('div').eq($(this).index()).addClass('block').siblings().removeClass('block')
		})
	</script>

</html>